package handzy.id.projects;

import java.util.Random;

public class PrintInput {
	static Random random = new Random();
	UserInput ui = new UserInput();

	public void menuItems() {
		// Prints Menu (called in main).
		// Select any option to play.
		System.out.println("|==============================");
		System.out.println("|Program Author: Matthew Handzy");
		System.out.println("|Program Name: Password Generator");
		System.out.println("|Program Version: 1.0 Alpha");
		System.out.println("|==============================");
	}

	public int numberRandom() {
		int numRa;
		numRa = random.nextInt(9);
		return numRa;
	}

	public String capsRandom() {
		int capsRa;
		String[] alphabetcaps = { "A", "B", "C", "D", "E", "F", "G", "H", "I",
				"J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U",
				"V", "W", "X", "Y", "Z" };
		
		capsRa = random.nextInt(alphabetcaps.length);
		String capswd = alphabetcaps[capsRa];
		return capswd;
	}

	public String charRandom() {
		int charRa;
		String[] alphabet = { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j",
				"k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v",
				"w", "x", "y", "z" };

		charRa = random.nextInt(alphabet.length);
		String charwd = alphabet[charRa];
		return charwd;
	}
}
